Class: Goat::ExpansionHelper
Instance Attribute Summary collapse
-
#components ⇒ Object
readonly
Returns the value of attribute components.
Instance Method Summary collapse
- #component(id) ⇒ Object
- #component_used(c) ⇒ Object
-
#initialize(pgid) ⇒ ExpansionHelper
constructor
A new instance of ExpansionHelper.
Constructor Details
#initialize(pgid) ⇒ ExpansionHelper
Returns a new instance of ExpansionHelper.
897 898 899 900 |
# File 'lib/goat.rb', line 897 def initialize(pgid) @components = {} @pgid = pgid end |
Instance Attribute Details
#components ⇒ Object (readonly)
Returns the value of attribute components.
895 896 897 |
# File 'lib/goat.rb', line 895 def components @components end |