Class: Moon::ArgsHelper::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/moon/packages/std/args_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(valid, args) ⇒ Result

Returns a new instance of Result.


7
8
9
10
# File 'lib/moon/packages/std/args_helper.rb', line 7

def initialize(valid, args)
  @valid = valid
  @args = args
end

Instance Attribute Details

#argsObject

Returns the value of attribute args


5
6
7
# File 'lib/moon/packages/std/args_helper.rb', line 5

def args
  @args
end

#validObject

Returns the value of attribute valid


4
5
6
# File 'lib/moon/packages/std/args_helper.rb', line 4

def valid
  @valid
end

Instance Method Details

#valid?Boolean

Returns:


12
13
14
# File 'lib/moon/packages/std/args_helper.rb', line 12

def valid?
  @valid
end