Class: Magnesium::Show

Inherits:
Object
  • Object
show all
Defined in:
lib/magnesium/support/error.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeShow

Returns a new instance of Show.



3
4
# File 'lib/magnesium/support/error.rb', line 3

def initialize()
end

Class Method Details

.errorObject



11
12
13
14
# File 'lib/magnesium/support/error.rb', line 11

def self.error
  puts 'M: I am sorry about error.'
  puts 'M: Please try again.'
end

.nonfunObject



6
7
8
9
# File 'lib/magnesium/support/error.rb', line 6

def self.nonfun
  puts 'M: I need time to grow up.'
  puts 'M: Please try another way.'
end