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



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

def ant_properties
  @ant_properties
end

Instance Method Details

#[](matcher) ⇒ Object

:nodoc:



220
221
222
# File 'lib/ivy4r.rb', line 220

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

#[]=(name, value) ⇒ Object

:nodoc:



216
217
218
# File 'lib/ivy4r.rb', line 216

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