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.



68
69
70
71
72
73
74
# File 'lib/ree.rb', line 68

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.



66
67
68
# File 'lib/ree.rb', line 66

def dir
  @dir
end

#nameObject (readonly)

Returns the value of attribute name.



66
67
68
# File 'lib/ree.rb', line 66

def name
  @name
end

#packages_schema_pathObject (readonly)

Returns the value of attribute packages_schema_path.



66
67
68
# File 'lib/ree.rb', line 66

def packages_schema_path
  @packages_schema_path
end