Class: SocialStream::Release::Component

Inherits:
Global
  • Object
show all
Defined in:
lib/social_stream/release/component.rb,
lib/social_stream/release/component/version_file.rb

Defined Under Namespace

Classes: VersionFile

Constant Summary

Constant Summary

Constants inherited from Global

Global::DEPENDENCY_REGEXP

Instance Attribute Summary (collapse)

Attributes inherited from Global

#version

Instance Method Summary (collapse)

Methods inherited from Global

#bump, #commit_files, #dependencies, #publish

Constructor Details

- (Component) initialize(name, options = {})

A new instance of Component



8
9
10
# File 'lib/social_stream/release/component.rb', line 8

def initialize(name, options = {})
  @name, @options = name, options
end

Instance Attribute Details

- (Object) name (readonly)

Returns the value of attribute name



6
7
8
# File 'lib/social_stream/release/component.rb', line 6

def name
  @name
end