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
243 244 245 |
# File 'lib/ivy4r.rb', line 243 def ant @ant end |
#ant_properties ⇒ Object
Returns the value of attribute ant_properties
243 244 245 |
# File 'lib/ivy4r.rb', line 243 def ant_properties @ant_properties end |
Instance Method Details
#[](matcher) ⇒ Object
:nodoc:
248 249 250 251 |
# File 'lib/ivy4r.rb', line 248 def [](matcher) #:nodoc: property = ant_properties.find {|p| matcher === p[0] } property ? property[1] : nil end |
#[]=(name, value) ⇒ Object
:nodoc:
244 245 246 |
# File 'lib/ivy4r.rb', line 244 def []=(name, value) #:nodoc: ant.property :name => name, :value => value end |