class ActiveRecord::FixtureSet::RenderContext
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/active_record/fixture_set/render_context.rbs class ActiveRecord::FixtureSet::RenderContext def self.create_subclass: () -> Class end
:nodoc:
order for rendering context subclassing to work correctly.
NOTE: This class has to be defined in compact style in
def self.create_subclass
Experimental RBS support (using type sampling data from the type_fusion
project).
def self.create_subclass: () -> Class
This signature was generated using 1 sample from 1 application.
order for rendering context subclassing to work correctly.
NOTE: This class has to be defined in compact style in
def self.create_subclass Class.new(ActiveRecord::FixtureSet.context_class) do def get_binding binding() end def binary(path) %(!!binary "#{Base64.strict_encode64(File.binread(path))}") end end end
def binary(path)
def binary(path) %(!!binary "#{Base64.strict_encode64(File.binread(path))}") end
def get_binding
def get_binding binding() end