Class: MixTape::FakeTracker::People

Inherits:
Object
  • Object
show all
Defined in:
lib/mix_tape/fake_tracker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_loggingObject (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