Class: Ree::ReeGem
Instance Attribute Summary collapse
-
#dir ⇒ Object
readonly
Returns the value of attribute dir.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#packages_schema_path ⇒ Object
readonly
Returns the value of attribute packages_schema_path.
Instance Method Summary collapse
-
#initialize(name, dir, packages_schema_path) ⇒ ReeGem
constructor
A new instance of ReeGem.
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
#dir ⇒ Object (readonly)
Returns the value of attribute dir.
66 67 68 |
# File 'lib/ree.rb', line 66 def dir @dir end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
66 67 68 |
# File 'lib/ree.rb', line 66 def name @name end |
#packages_schema_path ⇒ Object (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 |