Ruby Modules, require, module_function, and Rails

app/
--controllers/
--some_data_plot_controller.rb

--lib/
--complicated_data/
--plot.rb
--models/--services/ # where all the service objects live
app/lib/complicated_data/another_file_with_a_method.rb
require 'complicated_data/another_file_with_a_method`

--

--

--

Devops / Software / Data Engineer / Follower of Jesus Christ

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Using Jails with ZFS and PF on DigitalOcean

Build Python Package

Kubernetes Networking

Sharing is caring

Why my projects now run on Userbase.com

Final Task on GCP cloud Computing & Kubernetes

Declaration, assignment, types, composite literals, static programming languages, dynamic…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abe Flansburg

Abe Flansburg

Devops / Software / Data Engineer / Follower of Jesus Christ

More from Medium

Create a Rails API with React Frontend using Hooks and TypeScript

Ruby on Rails in a Nutshell

Introduction to Ruby on Rails

Phase-4 | Ruby on Rails!