Class: Comet::RemoteReference

Inherits:
Reference show all
Defined in:
lib/comet-html/parser-reference.rb

Instance Attribute Summary

Attributes inherited from Reference

#el, #name

Instance Method Summary collapse

Methods inherited from Reference

#initialize, #is_explicit?, #is_implicit?, #set_mode

Methods inherited from ReferenceBase

#has_default_value?, #has_getter?, #has_setter?

Constructor Details

This class inherits a constructor from Comet::Reference

Instance Method Details

#has_initializer?Boolean

Returns:

  • (Boolean)


83
84
85
# File 'lib/comet-html/parser-reference.rb', line 83

def has_initializer?
  true
end

#initializer(root_getter) ⇒ Object



87
88
89
# File 'lib/comet-html/parser-reference.rb', line 87

def initializer root_getter
  "#{root_getter}->#{name}"
end

#typeObject



79
80
81
# File 'lib/comet-html/parser-reference.rb', line 79

def type
  "#{@type}&"
end