Class: YARDGo::CodeObjects::FieldObject

Inherits:
YARD::CodeObjects::Base
  • Object
show all
Defined in:
lib/yard-go/code_objects.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#field_typeObject

Returns the value of attribute field_type.



62
63
64
# File 'lib/yard-go/code_objects.rb', line 62

def field_type
  @field_type
end

#go_tagsObject

Returns the value of attribute go_tags.



62
63
64
# File 'lib/yard-go/code_objects.rb', line 62

def go_tags
  @go_tags
end

Instance Method Details

#sepObject



57
# File 'lib/yard-go/code_objects.rb', line 57

def sep; '::' end

#source_typeObject



60
# File 'lib/yard-go/code_objects.rb', line 60

def source_type; :go end

#titleObject



59
# File 'lib/yard-go/code_objects.rb', line 59

def title; namespace.title + "." + name.to_s end

#typeObject



58
# File 'lib/yard-go/code_objects.rb', line 58

def type; :field end