Class: Maccro::Match

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

Instance Attribute Summary collapse

Instance Attribute Details

#placeholdersObject

Returns the value of attribute placeholders

Returns:

  • (Object)

    the current value of placeholders



4
5
6
# File 'lib/maccro/matched.rb', line 4

def placeholders
  @placeholders
end

#rangeObject

Returns the value of attribute range

Returns:

  • (Object)

    the current value of range



4
5
6
# File 'lib/maccro/matched.rb', line 4

def range
  @range
end

#ruleObject

Returns the value of attribute rule

Returns:

  • (Object)

    the current value of rule



4
5
6
# File 'lib/maccro/matched.rb', line 4

def rule
  @rule
end