abstract class StimulusController
- StimulusController
- Reference
- Object
Direct Known Subclasses
Defined in:
stimulus/stimulus_controller.crClass Method Summary
- .controller_name
- .html_attr_key
- .html_attr_value(io)
-
.to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
Macro Summary
- capture_code(call_context, level, io_name, &blk)
- method(name, &blk)
- resolve_call(call_context, call, level, *block_args)
- resolve_call_arg(call_context, arg, *block_args)
- resolve_call_args(call_context, call, level, *block_args)
- targets(*targets)
- values(*values)
Class Method Detail
def self.to_s(io : IO)
#
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>