Class: AntPropertyHelper

Inherits:
Struct
  • Object
show all
Defined in:
lib/ivy4r.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#ant_propertiesObject

Returns the value of attribute ant_properties

Returns:

  • (Object)

    the current value of ant_properties



209
210
211
# File 'lib/ivy4r.rb', line 209

def ant_properties
  @ant_properties
end

Instance Method Details

#[](matcher) ⇒ Object

:nodoc:



214
215
216
# File 'lib/ivy4r.rb', line 214

def [](matcher) #:nodoc:
  ant_properties.find {|p| matcher === p[0] }[1]
end

#[]=(name, value) ⇒ Object

:nodoc:



210
211
212
# File 'lib/ivy4r.rb', line 210

def []=(name, value) #:nodoc:
  ant_properties[name] = value
end