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.
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
#dir ⇒ Object (readonly)
Returns the value of attribute dir.
63 64 65 |
# File 'lib/ree.rb', line 63 def dir @dir end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
63 64 65 |
# File 'lib/ree.rb', line 63 def name @name end |
#packages_schema_path ⇒ Object (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 |