Class: ActiveOperation::Input

Inherits:
Object
  • Object
show all
Includes:
SmartProperties
Defined in:
lib/active_operation/input.rb

Instance Method Summary collapse

Instance Method Details

#keyword?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/active_operation/input.rb', line 11

def keyword?
  type == :keyword
end

#nameObject



15
16
17
# File 'lib/active_operation/input.rb', line 15

def name
  property.name
end

#positional?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/active_operation/input.rb', line 7

def positional?
  type == :positional
end