class
Sparoid::Config::Profile
- Sparoid::Config::Profile
- Reference
- Object
Overview
Keys and the commands to run when a packet is authenticated by one of them. The top level of the config file is the unnamed default profile, each [section] is a named profile.
Defined in:
config.crConstructors
Instance Method Summary
- #close_cmd : String
- #close_cmd=(close_cmd : String)
- #hmac_keys : Array(String)
- #keys : Array(String)
- #name : String
- #nftables? : Bool
- #nftables_cmd : String
- #nftables_cmd=(nftables_cmd : String)
- #nftablesv6_cmd : String
- #nftablesv6_cmd=(nftablesv6_cmd : String)
- #open_cmd : String
- #open_cmd=(open_cmd : String)
-
#to_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
Constructor Detail
Instance Method Detail
def to_s(io : IO) : Nil
#
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>