New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

madx-metash

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

madx-metash

  • 1.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

h1. Metash

Metash is a Ruby library that allow what I call "Meta Hashes".

A Metash is a kind of hash that allows method chaining to get the values using a bit of method_missing magic. This gives a nice interface for Hashes.

h2. Example

  c = Metash.new :key1 => "value1", :nested => {:key2 => "value2"}
  c.key1                        # => "value1"
  c.nested.key2                 # => "value2"
  c.nested.key2 "Another value"
  c.nested.key2                 # => "Another value"
  c.key3 "value3"               # c.key3 # => "value3"
  c.key4                        # => nil

FAQs

Package last updated on 11 Aug 2014

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