bin

package
v0.8.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package bin provides ruby binary plugin

Package bin provides ruby related methods for the "bin" type installation

Index

Constants

This section is empty.

Variables

View Source
var (

	// VersionLink is the URL link from which we can get all possible versions
	VersionLink = "https://rvm.io/binaries"
)

Functions

This section is empty.

Types

type Ruby

type Ruby struct {
	Version string
	Emitter *emission.Emitter
	base.Ruby
}

Ruby bin essential struct

func New

func New(version string, emitter *emission.Emitter) *Ruby

New returns language struct

func (Ruby) Events

func (ruby Ruby) Events() *emission.Emitter

Events returns language related event emitter

func (Ruby) Info

func (ruby Ruby) Info() map[string]string

Info provides all the info needed for installation of the plugin

func (Ruby) ListRemote

func (ruby Ruby) ListRemote() ([]string, error)

ListRemote returns list of the all available remote versions

func (Ruby) PostInstall

func (ruby Ruby) PostInstall() error

PostInstall hook

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL