Parent

Methods

Class/Module Index [+]

Quicksearch

RSpec::Core::CommandLineConfiguration

Attributes

command[R]

Public Class Methods

new(cmd) click to toggle source
# File lib/rspec/core/command_line_configuration.rb, line 6
def initialize(cmd)
  @command = cmd
end

Public Instance Methods

run() click to toggle source
# File lib/rspec/core/command_line_configuration.rb, line 10
def run
  case @command
  when 'autotest' then Autotest.generate
  else raise ArgumentError, #{"*"*50}"#{@command}" is not valid a valid argument to "rspec --configure".Supported options are:  rspec --configure autotest # generates .rspec file#{"*"*50}
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.