Class: NameTag::Options
- Inherits:
-
Struct
- Object
- Struct
- NameTag::Options
- Includes:
- BetterStruct
- Defined in:
- lib/nametag.rb
Overview
options
Instance Attribute Summary collapse
-
#_process ⇒ Object
Returns the value of attribute _process.
-
#regexes ⇒ Object
Returns the value of attribute regexes.
-
#tr ⇒ Object
Returns the value of attribute tr.
Instance Method Summary collapse
Methods included from BetterStruct
#initialize, #map, #map_values
Instance Attribute Details
#_process ⇒ Object
Returns the value of attribute _process
58 59 60 |
# File 'lib/nametag.rb', line 58 def _process @_process end |
#regexes ⇒ Object
Returns the value of attribute regexes
58 59 60 |
# File 'lib/nametag.rb', line 58 def regexes @regexes end |
#tr ⇒ Object
Returns the value of attribute 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 |