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

イニシャライザ



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_encodingObject

String

エンコーディング



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

def character_encoding
  @character_encoding
end

#content_typeObject

String

コンテントタイプ



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

def content_type
  @content_type
end

#documentObject

String

ドキュメント



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

def document
  @document
end

#elementObject

Meteor::Element

要素



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

def element
  @element
end

#hook_documentObject

String

フック・ドキュメント



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

def hook_document
  @hook_document
end

#kaigyo_codeObject

String

改行コード



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

def kaigyo_code
  @kaigyo_code
end