Class: Bp3::Hello::World::Context

Inherits:
Object
  • Object
show all
Defined in:
lib/bp3/hello/world/context.rb

Overview

Context says it all

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.say_it!Object



8
9
10
# File 'lib/bp3/hello/world/context.rb', line 8

def self.say_it!
  I18n.t('hello.world')
end

Instance Method Details

#say_it!Object



12
13
14
# File 'lib/bp3/hello/world/context.rb', line 12

def say_it!
  self.class.say_it!
end