Class: Boxspring::Theme
- Defined in:
- lib/boxspring/theme.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Boxspring::Base
Instance Method Details
#environments(reload = false) ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/boxspring/theme.rb', line 12 def environments( reload = false ) @_environments ||= begin self.attributes.include?( :environments ) ? self.attributes[ :environments ].map do | environment | ThemeEnvironment.new( environment ) end : nil end end |