Class: Shanty::RubygemProject

Inherits:
Project
  • Object
show all
Defined in:
lib/shanty/projects/rubygem.rb

Overview

Public: Represents a projects created with the Ruby language.

Instance Attribute Summary

Attributes inherited from Project

#changed, #name, #options, #parents_by_path, #path

Instance Method Summary collapse

Methods inherited from Project

#artifact_path, #externals_by_name, #initialize, #inspect, #to_s

Methods included from Mixins::Callbacks

#callbacks, included, #publish, #subscribe

Methods included from Mixins::ActsAsLinkGraphNode

#add_child, #add_parent, #all_children, #all_parents, #children, included, #parents

Constructor Details

This class inherits a constructor from Shanty::Project

Instance Method Details

#on_buildObject



8
9
10
# File 'lib/shanty/projects/rubygem.rb', line 8

def on_build
  system 'gem build *.gemspec'
end