Class: NameTag::Options

Inherits:
Struct
  • Object
show all
Includes:
BetterStruct
Defined in:
lib/nametag.rb

Overview

options

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from BetterStruct

#initialize, #map, #map_values

Instance Attribute Details

#_processObject

Returns the value of attribute _process

Returns:

  • (Object)

    the current value of _process



58
59
60
# File 'lib/nametag.rb', line 58

def _process
  @_process
end

#regexesObject

Returns the value of attribute regexes

Returns:

  • (Object)

    the current value of regexes



58
59
60
# File 'lib/nametag.rb', line 58

def regexes
  @regexes
end

#trObject

Returns the value of attribute tr

Returns:

  • (Object)

    the current value of tr



58
59
60
# File 'lib/nametag.rb', line 58

def tr
  @tr
end

Instance Method Details

#process(&b) ⇒ Object



60
61
62
# File 'lib/nametag.rb', line 60

def process(&b)
  _process << b
end