Class: Andrey::HelloWorld::HelloClass

Inherits:
Object
  • Object
show all
Defined in:
lib/Andrey/hello_world.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.return_helloObject



8
9
10
# File 'lib/Andrey/hello_world.rb', line 8

def self.return_hello
  new.str_hello
end

Instance Method Details

#str_helloObject



12
13
14
# File 'lib/Andrey/hello_world.rb', line 12

def str_hello
  "Hello World, by Andrey new version 0.1.3"
end