Module: Capabilities
Defined Under Namespace
Modules: Helpers Classes: Cacheable
Instance Method Summary collapse
Instance Method Details
#gear_sizes ⇒ Object
9 10 11 |
# File 'app/models/capabilities.rb', line 9 def gear_sizes @gear_sizes ||= capabilities[:gear_sizes].map(&:to_sym) end |
#to_capabilities ⇒ Object
13 14 15 |
# File 'app/models/capabilities.rb', line 13 def to_capabilities Capabilities::Cacheable.from(self) end |