Method: Fired.fire
- Defined in:
- lib/fired.rb
.fire(name = "unnamed") ⇒ Object
3 4 5 6 7 |
# File 'lib/fired.rb', line 3 def self.fire(name="unnamed") @counter += 1 puts "fired #{name}, which was number #{@counter}" return @counter end |