Class: Ree::ReeGem

Inherits:
Object show all
Includes:
Args
Defined in:
lib/ree.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Args

#check_arg, #check_arg_any, #check_arg_array_of, #check_bool, #not_nil

Constructor Details

#initialize(name, dir, packages_schema_path) ⇒ ReeGem

Returns a new instance of ReeGem.



65
66
67
68
69
70
71
# File 'lib/ree.rb', line 65

def initialize(name, dir, packages_schema_path)
  check_arg(name, :name, Symbol)
  check_arg(dir, :dir, String)
  @name = name
  @dir = dir
  @packages_schema_path = packages_schema_path
end

Instance Attribute Details

#dirObject (readonly)

Returns the value of attribute dir.



63
64
65
# File 'lib/ree.rb', line 63

def dir
  @dir
end

#nameObject (readonly)

Returns the value of attribute name.



63
64
65
# File 'lib/ree.rb', line 63

def name
  @name
end

#packages_schema_pathObject (readonly)

Returns the value of attribute packages_schema_path.



63
64
65
# File 'lib/ree.rb', line 63

def packages_schema_path
  @packages_schema_path
end