Module: Vuesfc2js::Conversion::Base

Included in:
ReplaceDotVue2Js, ReplaceFilenameDotVue2Js, ScriptExtraction
Defined in:
lib/vuesfc2js/conversion/base.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
# File 'lib/vuesfc2js/conversion/base.rb', line 6

def self.included(base)
  base.extend(ClassMethods)
end

Instance Method Details

#callString

Returns:

  • (String)

Raises:

  • (NotImplementedError)


23
24
25
# File 'lib/vuesfc2js/conversion/base.rb', line 23

def call
  raise NotImplementedError, "call is not implemented"
end

#initialize(str) ⇒ Object

Parameters:

  • str (String)


18
19
20
# File 'lib/vuesfc2js/conversion/base.rb', line 18

def initialize(str)
  @str = str
end