Class: Meteor::RootElement

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

Overview

root element class (ルート要素クラス)

Constant Summary collapse

EMPTY =
''

Instance Attribute Summary collapse

Attributes inherited from Element

#attributes, #copy, #cx, #document_sync, #empty, #mixed_content, #mono, #origin, #parser, #pattern, #raw_content, #removed, #tag, #type_value, #usable

Method Summary

Methods inherited from Element

#[], #[]=, #attr, #attr=, #attr_map, #attr_map=, #attrs, #attrs=, #clone, #content, #content=, #cxtag, #document, #document=, #element, #elements, #execute, #find, #flush, #initialize, new!, #remove, #remove_attr

Constructor Details

This class inherits a constructor from Meteor::Element

Instance Attribute Details

#character_encodingString

Returns character encoding (文字エンコーディング).

Returns:

  • (String)

    character encoding (文字エンコーディング)


577
578
579
580
581
582
583
584
585
586
587
# File 'lib/meteor.rb', line 577

class RootElement < Element

  EMPTY = ''

  attr_accessor :content_type
  attr_accessor :kaigyo_code
  attr_accessor :charset
  attr_accessor :character_encoding
  #attr_accessor :document #[String] document (ドキュメント)

end

#charsetString

Returns charset (文字コード).

Returns:

  • (String)

    charset (文字コード)


577
578
579
580
581
582
583
584
585
586
587
# File 'lib/meteor.rb', line 577

class RootElement < Element

  EMPTY = ''

  attr_accessor :content_type
  attr_accessor :kaigyo_code
  attr_accessor :charset
  attr_accessor :character_encoding
  #attr_accessor :document #[String] document (ドキュメント)

end

#content_typeString

Returns content type (コンテントタイプ).

Returns:

  • (String)

    content type (コンテントタイプ)


577
578
579
580
581
582
583
584
585
586
587
# File 'lib/meteor.rb', line 577

class RootElement < Element

  EMPTY = ''

  attr_accessor :content_type
  attr_accessor :kaigyo_code
  attr_accessor :charset
  attr_accessor :character_encoding
  #attr_accessor :document #[String] document (ドキュメント)

end

#kaigyo_codeString

Returns newline (改行コード).

Returns:

  • (String)

    newline (改行コード)


577
578
579
580
581
582
583
584
585
586
587
# File 'lib/meteor.rb', line 577

class RootElement < Element

  EMPTY = ''

  attr_accessor :content_type
  attr_accessor :kaigyo_code
  attr_accessor :charset
  attr_accessor :character_encoding
  #attr_accessor :document #[String] document (ドキュメント)

end