Class: Woody::Decorators::Brand

Inherits:
Base
  • Object
show all
Defined in:
lib/woody/decorators/brand.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #method_missing

Constructor Details

This class inherits a constructor from Woody::Decorators::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Woody::Decorators::Base

Instance Method Details

#challengesObject



7
8
9
10
11
# File 'lib/woody/decorators/brand.rb', line 7

def challenges
  @model.challenges.map do |c|
    Challenge.new(c)
  end
end