Class: What::Status

Inherits:
Object
  • Object
show all
Defined in:
lib/what/status.rb

Class Method Summary collapse

Class Method Details

.[](attr) ⇒ Object



5
6
7
# File 'lib/what/status.rb', line 5

def self.[](attr)
  @status[attr]
end

.[]=(attr, val) ⇒ Object



9
10
11
# File 'lib/what/status.rb', line 9

def self.[]=(attr, val)
  @status[attr] = val
end

.allObject



13
14
15
# File 'lib/what/status.rb', line 13

def self.all
  @status
end