Class: CKEditor5::Rails::Assets::JSExportsMeta

Inherits:
Object
  • Object
show all
Defined in:
lib/ckeditor5/rails/assets/assets_bundle.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url, translation: false, **import_options) ⇒ JSExportsMeta

Returns a new instance of JSExportsMeta.



46
47
48
49
50
# File 'lib/ckeditor5/rails/assets/assets_bundle.rb', line 46

def initialize(url, translation: false, **import_options)
  @url = url
  @import_meta = JSImportMeta.new(**import_options)
  @translation = translation
end

Instance Attribute Details

#import_metaObject (readonly)

Returns the value of attribute import_meta.



42
43
44
# File 'lib/ckeditor5/rails/assets/assets_bundle.rb', line 42

def import_meta
  @import_meta
end

#urlObject (readonly)

Returns the value of attribute url.



42
43
44
# File 'lib/ckeditor5/rails/assets/assets_bundle.rb', line 42

def url
  @url
end

Instance Method Details

#translation?Boolean

Returns:

  • (Boolean)


52
53
54
# File 'lib/ckeditor5/rails/assets/assets_bundle.rb', line 52

def translation?
  @translation
end