16 lines
230 B
Ruby
16 lines
230 B
Ruby
|
require_relative 'metaid'
|
||
|
|
||
|
class MailTruck
|
||
|
attr_accessor :driver, :route
|
||
|
|
||
|
def initialize(driver, route)
|
||
|
@driver, @route = driver, route
|
||
|
end
|
||
|
|
||
|
def self.company(name)
|
||
|
meta_def :company do
|
||
|
name
|
||
|
end
|
||
|
end
|
||
|
end
|