All Projects → werner → crystal_on_steroids

werner / crystal_on_steroids

Licence: MIT license
A group of methods to make Crystal more programmer friendly (extracted from Rails ActiveSupport, Powerpack and others)

Programming Languages

crystal
512 projects

Projects that are alternatives of or similar to crystal on steroids

katlib
Companion to Kotlin standard library
Stars: ✭ 70 (+45.83%)
Mutual labels:  extensions
RFKit
Toolkit for daily Cocoa development. Since 2012.
Stars: ✭ 20 (-58.33%)
Mutual labels:  extensions
RichNotifications
No description or website provided.
Stars: ✭ 44 (-8.33%)
Mutual labels:  extensions
lumira-extension-viz
lumira
Stars: ✭ 84 (+75%)
Mutual labels:  extensions
php-periphery-serial
A php extension for peripheral I/O Serial in Linux (wrapper of c-periphery)
Stars: ✭ 13 (-72.92%)
Mutual labels:  extensions
restrict-cursing-action
Github Action to prevent cursing and bad language in issues and pull requests
Stars: ✭ 20 (-58.33%)
Mutual labels:  friendly
man-in-the-middle
Modify requests, inject JavaScript and CSS into pages
Stars: ✭ 74 (+54.17%)
Mutual labels:  extensions
redmadrobot-android-ktx
Missing Android KTX extensions.
Stars: ✭ 27 (-43.75%)
Mutual labels:  extensions
RevitExtensions
Extensions for Revit plugin development
Stars: ✭ 37 (-22.92%)
Mutual labels:  extensions
JimmysUnityUtilities
A bunch of code I like to have on hand while working in Unity
Stars: ✭ 93 (+93.75%)
Mutual labels:  extensions
EPPlus.Core.Extensions
An extensions library for EPPlus package to generate and manipulate Excel files easily.
Stars: ✭ 66 (+37.5%)
Mutual labels:  extensions
standardnotes-extensions
Standard Notes Extensions
Stars: ✭ 16 (-66.67%)
Mutual labels:  extensions
KJCategories
Collection of native ios extensions and classes to boost development process. Such as UIKit, Foundation, QuartzCore, Accelerate, OpenCV, CoreGraphics, os and more. 超实用开发加速工具收集
Stars: ✭ 423 (+781.25%)
Mutual labels:  extensions
UnitySubstanceExtensions
Repository for extensions to the Substance plugin introduced in Unity 2018.1.
Stars: ✭ 17 (-64.58%)
Mutual labels:  extensions
library
Optimizely Library
Stars: ✭ 62 (+29.17%)
Mutual labels:  extensions
NString
A collection of utilities for working with strings in .NET.
Stars: ✭ 34 (-29.17%)
Mutual labels:  extensions
Cometary
Roslyn extensions, with a touch of meta-programming.
Stars: ✭ 31 (-35.42%)
Mutual labels:  extensions
bazaar
The extension marketplace for your Flarum forum.
Stars: ✭ 58 (+20.83%)
Mutual labels:  extensions
glTF-Blender-IO-materials-variants
Blender3D addon for glTF KHR_materials_variants extension
Stars: ✭ 56 (+16.67%)
Mutual labels:  extensions
MADE.NET
MADE.NET is a home to all of those bits of code that you know you'll reuse in another project. Making app development easier with .NET.
Stars: ✭ 75 (+56.25%)
Mutual labels:  extensions

Crystal on Steroids Build Status

A group of methods to make Crystal more programmer friendly. Methods taken from Rails ActiveSupport, Powerpack and others.

Api Docs

Installation

Add this to your application's shard.yml:

dependencies:
  crystal_on_steroids:
    github: werner/crystal_on_steroids

Usage

require "crystal_on_steroids"

Methods

AliasMethod

  • alias_method

Object

  • present?
  • presence
  • to_query
  • to_param
  • in?
  • presence_in

Array

  • second
  • third
  • fourth
  • fifth
  • rest
  • not_last
  • split
  • from
  • to
  • slice

Hash

  • compact
  • compact!

Enumerable

  • blank?
  • many?
  • pluck
  • excludes?
  • without
  • avg (average)
  • exactly?
  • frecuencies

Time

  • prev_day
  • next_day
  • yesterday
  • tomorrow
  • today?

String

  • remove
  • truncate
  • truncate_words
  • squish

Int

  • multiple_of?
  • ordinal
  • ordinalize

Number

  • bytes
  • kilobytes
  • megabytes
  • gigabytes
  • terabytes
  • petabytes
  • exabytes

Regex

  • match?

Range

  • overlaps?

More details in docs

Contributing

  1. Fork it ( https://github.com/werner/crystal_on_steroids/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • werner Werner Echezuría - creator, maintainer
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].