Module: Consumer::IdentifierMacro
- Defined in:
- lib/consumer/consumer.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#identifier(identifier = nil) ⇒ Object
228 229 230 231 232 233 234 |
# File 'lib/consumer/consumer.rb', line 228 def identifier(identifier=nil) if identifier.nil? @identifier else identifier_macro(identifier) end end |
Instance Method Details
#identifier_macro(identifier) ⇒ Object
224 225 226 |
# File 'lib/consumer/consumer.rb', line 224 def identifier_macro(identifier) self.identifier = identifier end |