Class: BBC::Programmes::Broadcast

Inherits:
Base
  • Object
show all
Defined in:
lib/bbc/programmes/broadcast.rb

Instance Method Summary collapse

Methods inherited from Base

fetch, #fetch!, #pid, subclasses

Instance Method Details

#endObject



18
19
20
# File 'lib/bbc/programmes/broadcast.rb', line 18

def end
  time.nil? ? nil : time.end
end

#serviceObject



22
23
24
# File 'lib/bbc/programmes/broadcast.rb', line 22

def service
  broadcast_on
end

#startObject



14
15
16
# File 'lib/bbc/programmes/broadcast.rb', line 14

def start
  time.nil? ? nil : time.start
end

#versionObject



26
27
28
# File 'lib/bbc/programmes/broadcast.rb', line 26

def version
  broadcast_of
end