Class: Rake::Funnel::Tasks::AssemblyVersion
- Inherits:
-
TaskLib
- Object
- TaskLib
- Rake::Funnel::Tasks::AssemblyVersion
- Includes:
- Support
- Defined in:
- lib/rake/funnel/tasks/assembly_version.rb
Instance Attribute Summary collapse
-
#language ⇒ Object
Returns the value of attribute language.
-
#name ⇒ Object
Returns the value of attribute name.
-
#source ⇒ Object
Returns the value of attribute source.
-
#source_args ⇒ Object
Returns the value of attribute source_args.
-
#target_path ⇒ Object
Returns the value of attribute target_path.
Instance Method Summary collapse
-
#initialize(*args, &task_block) ⇒ AssemblyVersion
constructor
A new instance of AssemblyVersion.
- #next_to_source(language, _version_info, source) ⇒ Object
Constructor Details
#initialize(*args, &task_block) ⇒ AssemblyVersion
Returns a new instance of AssemblyVersion.
11 12 13 14 15 |
# File 'lib/rake/funnel/tasks/assembly_version.rb', line 11 def initialize(*args, &task_block) setup_ivars(args) define(args, &task_block) end |
Instance Attribute Details
#language ⇒ Object
Returns the value of attribute language.
9 10 11 |
# File 'lib/rake/funnel/tasks/assembly_version.rb', line 9 def language @language end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/rake/funnel/tasks/assembly_version.rb', line 9 def name @name end |
#source ⇒ Object
Returns the value of attribute source.
9 10 11 |
# File 'lib/rake/funnel/tasks/assembly_version.rb', line 9 def source @source end |
#source_args ⇒ Object
Returns the value of attribute source_args.
9 10 11 |
# File 'lib/rake/funnel/tasks/assembly_version.rb', line 9 def source_args @source_args end |
#target_path ⇒ Object
Returns the value of attribute target_path.
9 10 11 |
# File 'lib/rake/funnel/tasks/assembly_version.rb', line 9 def target_path @target_path end |
Instance Method Details
#next_to_source(language, _version_info, source) ⇒ Object
17 18 19 |
# File 'lib/rake/funnel/tasks/assembly_version.rb', line 17 def next_to_source(language, _version_info, source) File.join(File.dirname(source), "VersionInfo.#{language}") end |