class Sentry::Config
- Sentry::Config
- Reference
- Object
Included Modules
- YAML::Serializable
Defined in:
sentry.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
-
.new
Initializing an empty configuration provides no default values.
Class Method Summary
-
.shard_name : String | Nil
.shard_name
is set as a class property so that it can be inferred from theshard.yml
in the project directory. -
.shard_name=(shard_name : String | Nil)
.shard_name
is set as a class property so that it can be inferred from theshard.yml
in the project directory.
Instance Method Summary
- #build
- #build=(new_command : String)
- #build_args
- #build_args=(build_args : String)
- #colorize=(colorize : Bool)
- #colorize? : Bool
- #display_name
- #display_name!
- #display_name=(new_display_name : String)
- #info : Bool
- #info=(info : Bool)
- #install_shards : Bool
- #install_shards=(install_shards : Bool)
- #install_shards? : Bool
- #merge!(other : self)
- #run
- #run=(new_command : String)
- #run_args
- #run_args=(run_args : String)
- #sets_build_command=(sets_build_command : Bool)
- #sets_build_command? : Bool
- #sets_display_name=(sets_display_name : Bool)
- #sets_display_name? : Bool
- #sets_run_command=(sets_run_command : Bool)
- #sets_run_command? : Bool
- #should_build=(should_build : Bool)
- #should_build?
- #src_path : String
- #src_path=(src_path : String)
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
- #watch : Array(String)
- #watch=(watch : Array(String))
Constructor Detail
Class Method Detail
def self.shard_name : String | Nil
#
.shard_name
is set as a class property so that it can be inferred from
the shard.yml
in the project directory.
def self.shard_name=(shard_name : String | Nil)
#
.shard_name
is set as a class property so that it can be inferred from
the shard.yml
in the project directory.
Instance Method Detail
def 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>