class Mingle::ProjectVariable

This is a lightweight representation of a ProjectVariable in Mingle A property defintion is a mnemonic name that represents a particular value for one or more PropertyDefinitions

Public Class Methods

new(full_project_variable) click to toggle source
# File lib/mingle_macro_models/project_variable.rb, line 9
def initialize(full_project_variable)
  @full_project_variable = full_project_variable
end

Public Instance Methods

name() click to toggle source

returns: The name of this variable

# File lib/mingle_macro_models/project_variable.rb, line 14
def name
  @full_project_variable.name
end
value() click to toggle source

returns: The display value of the value configured for this project variable

# File lib/mingle_macro_models/project_variable.rb, line 19
def value
  @full_project_variable.display_value
end