Class: Step

Inherits:
Object
  • Object
show all
Defined in:
lib/byci.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#_commandObject (readonly)

Returns the value of attribute _command.



30
31
32
# File 'lib/byci.rb', line 30

def _command
  @_command
end

#_nameObject (readonly)

Returns the value of attribute _name.



30
31
32
# File 'lib/byci.rb', line 30

def _name
  @_name
end

Class Method Details

.withObject



32
33
34
# File 'lib/byci.rb', line 32

def self.with
  Step.new
end

Instance Method Details

#command(command) ⇒ Object



41
42
43
44
# File 'lib/byci.rb', line 41

def command(command)
  @_command = command
  self
end

#name(name) ⇒ Object



36
37
38
39
# File 'lib/byci.rb', line 36

def name(name)
  @_name = name
  self
end