Class: RubyZen
- Inherits:
-
Object
- Object
- RubyZen
- Defined in:
- lib/ruby-zen.rb
Class Method Summary collapse
Class Method Details
.langs ⇒ Object
12 13 14 15 |
# File 'lib/ruby-zen.rb', line 12 def self.langs langs = Params::LANGS puts "Available langs: #{langs.join(', ')}" end |
.show(options) ⇒ Object
17 18 19 20 21 |
# File 'lib/ruby-zen.rb', line 17 def self.show() lang = ['lang']&.to_sym || :en app = Application.new(lang) Rules.new(app).show() end |