Class: Wombat::DSL::Follower
- Inherits:
-
PropertyGroup
- Object
- Hash
- PropertyGroup
- Wombat::DSL::Follower
- Defined in:
- lib/wombat/dsl/follower.rb
Instance Attribute Summary collapse
-
#wombat_property_selector ⇒ Object
Returns the value of attribute wombat_property_selector.
Attributes inherited from PropertyGroup
Instance Method Summary collapse
-
#initialize(name, selector) ⇒ Follower
constructor
A new instance of Follower.
-
#wombat_property_format ⇒ Object
So that Property::Locators::Iterator can identify this class as a follow property.
Methods inherited from PropertyGroup
#method_missing, #to_ary, #wombat_property_namespaces
Constructor Details
#initialize(name, selector) ⇒ Follower
Returns a new instance of Follower.
6 7 8 9 10 |
# File 'lib/wombat/dsl/follower.rb', line 6 def initialize(name, selector) @wombat_property_selector = selector super(name) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Wombat::DSL::PropertyGroup
Instance Attribute Details
#wombat_property_selector ⇒ Object
Returns the value of attribute wombat_property_selector.
4 5 6 |
# File 'lib/wombat/dsl/follower.rb', line 4 def wombat_property_selector @wombat_property_selector end |
Instance Method Details
#wombat_property_format ⇒ Object
So that Property::Locators::Iterator can identify this class as a follow property.
14 15 16 |
# File 'lib/wombat/dsl/follower.rb', line 14 def wombat_property_format :follow end |