Module: Consumer::IdentifierMacro
- Defined in:
- lib/consumer/consumer.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#identifier(identifier = nil) ⇒ Object
175 176 177 178 179 180 181 |
# File 'lib/consumer/consumer.rb', line 175 def identifier(identifier=nil) if identifier.nil? @identifier else identifier_macro(identifier) end end |
Instance Method Details
#identifier_macro(identifier) ⇒ Object
171 172 173 |
# File 'lib/consumer/consumer.rb', line 171 def identifier_macro(identifier) self.identifier = identifier end |