Class: SourMix::Main

Inherits:
Mjolnir
  • Object
show all
Includes:
Perform
Defined in:
lib/sourmix/main.rb

Constant Summary collapse

ONE_HOUR_AGO =
(Time.now - 60 * 60).strftime('%Y-%m-%d')

Constants included from Perform

Perform::PAGE_SIZE

Constants inherited from Mjolnir

Mjolnir::COMMON_OPTIONS

Instance Method Summary collapse

Methods included from Perform

#perform

Methods inherited from Mjolnir

include_common_options

Instance Method Details

#artObject



21
22
23
# File 'lib/sourmix/main.rb', line 21

def art
  puts "\n%s\n" % ART
end

#goObject



52
53
54
# File 'lib/sourmix/main.rb', line 52

def go
  perform
end

#versionObject



15
16
17
# File 'lib/sourmix/main.rb', line 15

def version
  puts VERSION
end