class Sentry::Config
- Sentry::Config
- Reference
- Object
Defined in:
sentry.crConstructors
-
.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
- #display_name
- #display_name!
- #display_name=(new_display_name : String)
- #merge!(other : self)
- #run
- #run=(new_command : String)
- #run_args
- #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?
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
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>