lib/trac4r/ticket.rb
# checks if all attributes are set
checks if all attributes are set
checks if all attributes are set
def check
      instance_variables.each do |v|
        return false if instance_variable_get(v.to_sym).nil?
      end
      return true
    end
def check instance_variables . each do | v | return false if instance_variable_get ( v . to_sym ) . nil? end return true end
checks if all attributes are set
checks if all attributes are set