Class: Maven::Model::Resource
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Tag
#_name, _tags, #comment, #initialize, prepend_tags, tags, #to_xml
Constructor Details
This class inherits a constructor from Maven::Model::Tag
Instance Method Details
#excludes(&block) ⇒ Object
40 41 42 43 44 45 46 |
# File 'lib/maven/model/model.rb', line 40 def excludes(&block) @excludes ||= NamedArray.new( 'excludes' ) if block block.call(@excludes) end @excludes end |
#includes(&block) ⇒ Object
32 33 34 35 36 37 38 |
# File 'lib/maven/model/model.rb', line 32 def includes(&block) @includes ||= NamedArray.new( 'includes' ) if block block.call( @includes ) end @includes end |