Module: Credentials::Inflections
- Defined in:
- lib/credentials/inflector.rb
Instance Attribute Summary collapse
-
#actors ⇒ Object
readonly
Returns the value of attribute actors.
Instance Method Summary collapse
Instance Attribute Details
#actors ⇒ Object (readonly)
Returns the value of attribute actors.
11 12 13 |
# File 'lib/credentials/inflector.rb', line 11 def actors @actors end |
Instance Method Details
#actor(rule, replacement) ⇒ Object
17 18 19 |
# File 'lib/credentials/inflector.rb', line 17 def actor(rule, replacement) actors.insert 0, [ rule, replacement ] end |