Module: Linguist
- Defined in:
- lib/linguist_ruby.rb,
lib/linguist_ruby/command.rb,
lib/linguist_ruby/helpers.rb,
lib/linguist_ruby/version.rb,
lib/linguist_ruby/models/project.rb,
lib/linguist_ruby/rails3/railtie.rb,
lib/linguist_ruby/models/projects.rb,
lib/linguist_ruby/models/resource.rb,
lib/linguist_ruby/models/collaborator.rb
Defined Under Namespace
Modules: Command, Helpers, Models Classes: Client, Railtie
Constant Summary collapse
- VERSION =
"0.0.3"
Class Attribute Summary collapse
-
.environments ⇒ Object
Returns the value of attribute environments.
-
.host ⇒ Object
Returns the value of attribute host.
-
.project ⇒ Object
Returns the value of attribute project.
-
.protocol ⇒ Object
Returns the value of attribute protocol.
-
.username ⇒ Object
Returns the value of attribute username.
Class Method Summary collapse
Class Attribute Details
.environments ⇒ Object
Returns the value of attribute environments.
6 7 8 |
# File 'lib/linguist_ruby.rb', line 6 def environments @environments end |
.host ⇒ Object
Returns the value of attribute host.
6 7 8 |
# File 'lib/linguist_ruby.rb', line 6 def host @host end |
.project ⇒ Object
Returns the value of attribute project.
6 7 8 |
# File 'lib/linguist_ruby.rb', line 6 def project @project end |
.protocol ⇒ Object
Returns the value of attribute protocol.
6 7 8 |
# File 'lib/linguist_ruby.rb', line 6 def protocol @protocol end |
.username ⇒ Object
Returns the value of attribute username.
6 7 8 |
# File 'lib/linguist_ruby.rb', line 6 def username @username end |
Class Method Details
.configure {|_self| ... } ⇒ Object
8 9 10 |
# File 'lib/linguist_ruby.rb', line 8 def configure yield self end |
.default_value?(value) ⇒ Boolean
12 13 14 |
# File 'lib/linguist_ruby.rb', line 12 def default_value?(value) value.start_with?(":") end |