Class: Pyer::Value

Inherits:
Option show all
Defined in:
lib/pyer/options.rb

Overview

Value class

Instance Attribute Summary

Attributes inherited from Option

#callback, #description, #expects_argument, #name, #short, #value

Instance Method Summary collapse

Constructor Details

#initialize(name, description, &block) ⇒ Value

Returns a new instance of Value.



311
312
313
314
# File 'lib/pyer/options.rb', line 311

def initialize(name, description, &block)
  super
  @expects_argument = true
end