Class: MixTape::FakeTracker::People
- Inherits:
-
Object
- Object
- MixTape::FakeTracker::People
- Defined in:
- lib/mix_tape/fake_tracker.rb
Instance Attribute Summary collapse
-
#console_logging ⇒ Object
readonly
Returns the value of attribute console_logging.
Instance Method Summary collapse
-
#initialize(console_logging) ⇒ People
constructor
A new instance of People.
- #set(name, args = {}, ip = nil) ⇒ Object
Constructor Details
#initialize(console_logging) ⇒ People
Returns a new instance of People.
21 22 23 |
# File 'lib/mix_tape/fake_tracker.rb', line 21 def initialize(console_logging) @console_logging = console_logging end |
Instance Attribute Details
#console_logging ⇒ Object (readonly)
Returns the value of attribute console_logging.
19 20 21 |
# File 'lib/mix_tape/fake_tracker.rb', line 19 def console_logging @console_logging end |
Instance Method Details
#set(name, args = {}, ip = nil) ⇒ Object
25 26 27 |
# File 'lib/mix_tape/fake_tracker.rb', line 25 def set(name, args={}, ip=nil) puts "FakeTracker.set #{name}, #{args}, #{ip}" if console_logging end |