Class: Meteor::RootElement

Inherits:
Object
  • Object
show all
Defined in:
lib/meteor.rb

Overview

ルート要素クラス

Constant Summary collapse

EMPTY =
''

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRootElement

イニシャライザ



369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'lib/meteor.rb', line 369

def initialize()
  #コンテントタイプ
  #@contentType = ''
  #改行コード
  #@kaigyoCode = ''
  #文字コード
  #@character_encoding=''

  #フックドキュメント
  @hook_document = ''
  #変更可能要素
  #@element = nil
end

Instance Attribute Details

#character_encodingObject

Returns the value of attribute character_encoding.



385
386
387
# File 'lib/meteor.rb', line 385

def character_encoding
  @character_encoding
end

#content_typeObject

Returns the value of attribute content_type.



383
384
385
# File 'lib/meteor.rb', line 383

def content_type
  @content_type
end

#documentObject

Returns the value of attribute document.



386
387
388
# File 'lib/meteor.rb', line 386

def document
  @document
end

#elementObject

Returns the value of attribute element.



388
389
390
# File 'lib/meteor.rb', line 388

def element
  @element
end

#hook_documentObject

Returns the value of attribute hook_document.



387
388
389
# File 'lib/meteor.rb', line 387

def hook_document
  @hook_document
end

#kaigyo_codeObject

Returns the value of attribute kaigyo_code.



384
385
386
# File 'lib/meteor.rb', line 384

def kaigyo_code
  @kaigyo_code
end