Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

configsl-toml

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

configsl-toml

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

ConfigSL TOML Gem Version Coverage Status Code Checks

Adds TOML file support to ConfigSL, the simple, modular configuration DSL.

Installation

Add this line to your application's Gemfile:

gem 'configsl-toml', '~> 1.0'

And then execute:

bundle install

Or install it yourself as:

gem install configsl-toml

Usage

See the ConfigSL Usage documentation for information on how to use ConfigSL.

To add TOML support to your configuration class, require configsl-toml and register the file format:

require 'configsl'
require 'configsl-toml'

class MyConfig < ConfigSL::Config
    register_file_format :toml

    option :name, type: String, default: 'My App'
    # ...
end

FAQs

Package last updated on 15 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc