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

#initialize ⇒ RootElement

イニシャライザ



420
421
422
423
424
425
426
427
428
429
430
431
432
# File 'lib/meteor.rb', line 420

def initialize()
  #コンテントタイプ

  #@contentType = ''

  #改行コード

  #@kaigyoCode = ''

  #文字コード

  #@character_encoding=''


  #フックドキュメント

  @hook_document = ''
  #変更可能要素

  #@element = nil

end

Instance Attribute Details

#character_encoding ⇒ Object

[String] エンコーディング



436
437
438
# File 'lib/meteor.rb', line 436

def character_encoding
  @character_encoding
end

#content_type ⇒ Object

[String] コンテントタイプ



434
435
436
# File 'lib/meteor.rb', line 434

def content_type
  @content_type
end

#document ⇒ Object

[String] ドキュメント



437
438
439
# File 'lib/meteor.rb', line 437

def document
  @document
end

#element ⇒ Object

[Meteor::Element] 要素



439
440
441
# File 'lib/meteor.rb', line 439

def element
  @element
end

#hook_document ⇒ Object

[String] フック・ドキュメント



438
439
440
# File 'lib/meteor.rb', line 438

def hook_document
  @hook_document
end

#kaigyo_code ⇒ Object

[String] 改行コード



435
436
437
# File 'lib/meteor.rb', line 435

def kaigyo_code
  @kaigyo_code
end