Class: RubyAPI::Cli::Generate

Inherits:
Thor
  • Object
show all
Defined in:
lib/ruby_api/cli/generate.rb

Overview

:nodoc

Instance Method Summary collapse

Instance Method Details

#feature(name) ⇒ Object



10
11
12
13
14
# File 'lib/ruby_api/cli/generate.rb', line 10

def feature(name)
  path = File.join RubyAPI::CONFIG_DIR, RubyAPI::CONFIG_FILE
  config = RubyAPI.config
  puts config.to_yaml
end