Class: AntPropertyHelper
- Inherits:
-
Struct
- Object
- Struct
- AntPropertyHelper
- Defined in:
- lib/ivy4r.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#ant ⇒ Object
Returns the value of attribute ant.
-
#ant_properties ⇒ Object
Returns the value of attribute ant_properties.
Instance Method Summary collapse
-
#[](matcher) ⇒ Object
:nodoc:.
-
#[]=(name, value) ⇒ Object
:nodoc:.
Instance Attribute Details
#ant ⇒ Object
Returns the value of attribute ant
242 243 244 |
# File 'lib/ivy4r.rb', line 242 def ant @ant end |
#ant_properties ⇒ Object
Returns the value of attribute ant_properties
242 243 244 |
# File 'lib/ivy4r.rb', line 242 def ant_properties @ant_properties end |
Instance Method Details
#[](matcher) ⇒ Object
:nodoc:
247 248 249 250 |
# File 'lib/ivy4r.rb', line 247 def [](matcher) #:nodoc: property = ant_properties.find {|p| matcher === p[0] } property ? property[1] : nil end |
#[]=(name, value) ⇒ Object
:nodoc:
243 244 245 |
# File 'lib/ivy4r.rb', line 243 def []=(name, value) #:nodoc: ant.property :name => name, :value => value end |