Socket
Book a DemoInstallSign in
Socket

tel_to_helper

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tel_to_helper

0.1.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

tel_to_helper

Gem Version Build Status Dependency Status Code Climate

Action View Telephone Link Helper.

Requirements

  • Ruby ~> 2.0
  • Rails

Installation

Include the gem in your Gemfile:

gem 'tel_to_helper'

Usage

The parameters is almost the same as link_to except pass phone number to options.

tel_to(name = nil, options = nil, html_options = nil, &block)

Examples

tel_to '000-000-0000'
# => <a href="tel:000-000-0000">000-000-0000</a>
tel_to 'My phone number', '000-000-0000'
# => <a href="tel:000-000-0000">My phone number</a>
tel_to '000-000-0000', 'My phone number', target: '_blank'
# => <a href="tel:000-000-0000" target="_blank">My phone number</a>

Sponsors

License

Copyright © 2016 Jianqiu Xiao swordray@gmail.com under The MIT License.

FAQs

Package last updated on 24 Jan 2022

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.