Class: Misty::Service

Inherits:
Struct
  • Object
show all
Defined in:
lib/misty/misty.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



29
30
31
# File 'lib/misty/misty.rb', line 29

def name
  @name
end

#projectObject

Returns the value of attribute project

Returns:

  • (Object)

    the current value of project



29
30
31
# File 'lib/misty/misty.rb', line 29

def project
  @project
end

#versionsObject

Returns the value of attribute versions

Returns:

  • (Object)

    the current value of versions



29
30
31
# File 'lib/misty/misty.rb', line 29

def versions
  @versions
end

Instance Method Details

#to_sObject



30
31
32
# File 'lib/misty/misty.rb', line 30

def to_s
  "#{name}: #{project} => #{versions}"
end