Class: Gem::Release::Data
- Inherits:
-
Struct
- Object
- Struct
- Gem::Release::Data
- Includes:
- Helper::String
- Defined in:
- lib/gem/release/data.rb
Instance Attribute Summary collapse
-
#gem ⇒ Object
Returns the value of attribute gem.
-
#git ⇒ Object
Returns the value of attribute git.
-
#opts ⇒ Object
Returns the value of attribute opts.
Instance Method Summary collapse
Methods included from Helper::String
Instance Attribute Details
#gem ⇒ Object
Returns the value of attribute gem
7 8 9 |
# File 'lib/gem/release/data.rb', line 7 def gem @gem end |
#git ⇒ Object
Returns the value of attribute git
7 8 9 |
# File 'lib/gem/release/data.rb', line 7 def git @git end |
#opts ⇒ Object
Returns the value of attribute opts
7 8 9 |
# File 'lib/gem/release/data.rb', line 7 def opts @opts end |
Instance Method Details
#data ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/gem/release/data.rb', line 10 def data { gem_name: gem_name, gem_path: gem_path, module_names: module_names, author: user_name, email: user_email, homepage: homepage, licenses: licenses, summary: '[summary]', description: '[description]', files: files, bin_files: bin_files } end |