Class: RoCommands::Generate

Inherits:
Base
  • Object
show all
Includes:
Generators
Defined in:
lib/ro_commands/generate.rb

Instance Method Summary collapse

Methods inherited from Base

describe, method_added, meths, usage

Methods included from Bash

#_bash, #bash, #bash_lines, #bash_per, #handle_path

Instance Method Details

#exObject



21
22
23
24
# File 'lib/ro_commands/generate.rb', line 21

def ex
  Ex.create
  Ex.open
end

#spec_file(name) ⇒ Object



27
28
29
30
# File 'lib/ro_commands/generate.rb', line 27

def spec_file(name)
	SpecFile.create(name)
  SpecFile.open
end