Class: CKEditor5::Rails::Assets::JSExportsMeta
- Inherits:
-
Object
- Object
- CKEditor5::Rails::Assets::JSExportsMeta
- Defined in:
- lib/ckeditor5/rails/assets/assets_bundle.rb
Instance Attribute Summary collapse
-
#import_meta ⇒ Object
readonly
Returns the value of attribute import_meta.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url, translation: false, **import_options) ⇒ JSExportsMeta
constructor
A new instance of JSExportsMeta.
- #translation? ⇒ Boolean
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, **) @url = url @import_meta = JSImportMeta.new(**) @translation = translation end |
Instance Attribute Details
#import_meta ⇒ Object (readonly)
Returns the value of attribute import_meta.
42 43 44 |
# File 'lib/ckeditor5/rails/assets/assets_bundle.rb', line 42 def @import_meta end |
#url ⇒ Object (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
52 53 54 |
# File 'lib/ckeditor5/rails/assets/assets_bundle.rb', line 52 def translation? @translation end |