mattvanhorn/BJJLife

View on GitHub
app/exhibits/market_exhibit.rb

Summary

Maintainability
A
0 mins
Test Coverage
class MarketExhibit < DisplayCase::Exhibit
  include ExhibitBaseHelper

  def self.applicable_to?(object, context)
    object.class.name == 'Market'
  end

  def to_s
    name
  end

  # def as_option
  #   ("&nbsp;" * depth) + name
  # end
end