class Bcome::Registry::Arguments::Console

Public Class Methods

new(arguments, defaults) click to toggle source
Calls superclass method Bcome::Registry::Arguments::Base::new
# File lib/objects/registry/arguments/console.rb, line 5
def initialize(arguments, defaults)
  @arguments = arguments || {}
  super
end

Private Instance Methods

validate() click to toggle source
# File lib/objects/registry/arguments/console.rb, line 12
def validate
  raise Bcome::Exception::InvalidRegistryArgumentType, 'invalid argument format' unless @arguments.is_a?(Hash)

  super
end