Class: Person

Inherits:
Object
  • Object
show all
Defined in:
yard_tags.rb

Instance Attribute Summary (collapse)

Class Method Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (String) name

名前を示す文字列

Returns:

  • (String)

    名前を示す文字列



131
# File 'yard_tags.rb', line 131

property :name

Class Method Details

+ (Object) property(sym)



124
125
126
# File 'yard_tags.rb', line 124

def property(sym)
  attr_accessor sym
end

Instance Method Details

- (Boolean) friend?

TODO:

仮実装なので後でちゃんと実装する

Returns:

  • (Boolean)


134
135
136
# File 'yard_tags.rb', line 134

def friend?
  true
end