Class: FullTime::Employment
- Inherits:
-
Object
- Object
- FullTime::Employment
- Defined in:
- lib/full_time/employment.rb
Instance Attribute Summary collapse
-
#companies ⇒ Object
Returns the value of attribute companies.
Instance Method Summary collapse
- #company(name = nil, &block) ⇒ Object
-
#initialize ⇒ Employment
constructor
A new instance of Employment.
Constructor Details
#initialize ⇒ Employment
Returns a new instance of Employment.
5 6 7 |
# File 'lib/full_time/employment.rb', line 5 def initialize @companies = [] end |
Instance Attribute Details
#companies ⇒ Object
Returns the value of attribute companies.
3 4 5 |
# File 'lib/full_time/employment.rb', line 3 def companies @companies end |