# PLEASE DO NOT EDIT THIS CODE
# This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!
# NOTE: Ruby generator is experimental and is missing some features available in
# in other Umple generated languages like Java or PHP



class Foo


  #------------------------
  # MEMBER VARIABLES
  #------------------------

  #Foo Attributes - for documentation purposes

  # I am a inline comment above an attribute.
  #attr_reader :bar

  #------------------------
  # CONSTRUCTOR
  #------------------------

  def initialize(a_bar)
    @initialized = false
    @deleted = false
    @bar = a_bar
    @initialized = true
  end

  #------------------------
  # INTERFACE
  #------------------------

  def set_bar(a_bar)
    was_set = false
    @bar = a_bar
    was_set = true
    was_set
  end

  def get_bar
    @bar
  end

  def delete
    @deleted = true
  end

end