module Synoption::OptionInit

Public Class Methods

new(*args, &blk) click to toggle source
Calls superclass method
# File lib/ragol/synoption/option.rb, line 9
def initialize(*args, &blk)
  name, tag, description, deflt, options = *args
  options ||= Hash.new
  deflt ||= default_value
  args = OptionArguments.new name, tag, description, deflt, options
  super args, &blk
end

Public Instance Methods

default_value() click to toggle source
# File lib/ragol/synoption/option.rb, line 17
def default_value
  nil
end