Class: Senren::Rails::Doctor::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/senren/rails/doctor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#detailObject

Returns the value of attribute detail

Returns:

  • (Object)

    the current value of detail



8
9
10
# File 'lib/senren/rails/doctor.rb', line 8

def detail
  @detail
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



8
9
10
# File 'lib/senren/rails/doctor.rb', line 8

def label
  @label
end

#okObject

Returns the value of attribute ok

Returns:

  • (Object)

    the current value of ok



8
9
10
# File 'lib/senren/rails/doctor.rb', line 8

def ok
  @ok
end

Instance Method Details

#iconObject



9
# File 'lib/senren/rails/doctor.rb', line 9

def icon = ok ? '' : ''